<form id="reset-password-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="panel panel-default panel-intro">
        <div class="panel-heading">
            <h3 class="panel-title">重置密码</h3>
        </div>
        <div class="panel-body">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">商家信息:</label>
                <div class="col-xs-12 col-sm-8">
                    <p class="form-control-static">{$row.store_name|htmlentities} ({$row.phone|htmlentities})</p>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">新密码:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-password" class="form-control" name="password" type="password" placeholder="请输入新密码" data-rule="required;length(6~30)">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">确认密码:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-confirm-password" class="form-control" name="confirm_password" type="password" placeholder="请再次输入新密码" data-rule="required;match(password)">
                </div>
            </div>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>